import { PartialType } from '@nestjs/mapped-types';
import { CreateUserDto } from './create-user.dto';
import { ApiProperty } from '@nestjs/swagger';

export class UpdateUserDto extends PartialType(CreateUserDto) {
  /** 用户ID */
  @ApiProperty({
    description: '用户ID',
    type: 'string',
    example: '1',
    required: true,
  })
  userId: string;
}
